package com.zjw.exception;

import com.zjw.constant.ResultCodeEnum;
import lombok.Getter;

/**
 * <h1>通用异常类</h1>
 *
 * @author zjw
 * @date 2021/02/11
 */
@Getter
public class BusinessException extends Exception {

    private ResultCodeEnum resultCodeEnum;

    public BusinessException() {

    }

    public BusinessException(ResultCodeEnum resultCodeEnum) {
        super();
        this.resultCodeEnum = resultCodeEnum;
    }

}
